package com.ruoyi.project.treat.domain;

import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Objects;

public class TreRegCost extends BaseEntity {
    private Integer regId;
    private String regName;
    private Double regPrice;
    private Integer status;
    private String remark;

    public TreRegCost() {
    }

    public TreRegCost(Integer regId, String regName, Double regPrice, Integer status, String remark) {
        this.regId = regId;
        this.regName = regName;
        this.regPrice = regPrice;
        this.status = status;
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "TreRegisteionCost{" +
                "regId=" + regId +
                ", regName='" + regName + '\'' +
                ", regPrice=" + regPrice +
                ", status=" + status +
                ", remark='" + remark + '\'' +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        TreRegCost that = (TreRegCost) o;
        return Objects.equals(regId, that.regId) &&
                Objects.equals(regName, that.regName) &&
                Objects.equals(regPrice, that.regPrice) &&
                Objects.equals(status, that.status) &&
                Objects.equals(remark, that.remark);
    }

    @Override
    public int hashCode() {
        return Objects.hash(regId, regName, regPrice, status, remark);
    }

    public Integer getRegId() {
        return regId;
    }

    public void setRegId(Integer regId) {
        this.regId = regId;
    }

    public String getRegName() {
        return regName;
    }

    public void setRegName(String regName) {
        this.regName = regName;
    }

    public Double getRegPrice() {
        return regPrice;
    }

    public void setRegPrice(Double regPrice) {
        this.regPrice = regPrice;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }
}
